Skip to content

docs(cleanroom): MESH's and WIPEOUT's field lists checked against AutoCAD's own output on every corpus record (#478) - #490

Merged
DrunkOnJava merged 8 commits into
mainfrom
research/478-mesh-probe-corpus
Nov 30, 2026
Merged

DrunkOnJava merged 8 commits into
mainfrom
research/478-mesh-probe-corpus

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Both classes of #478 are now checked by the 2026-10-26 method on every corpus record, and recorded in CLEANROOM.md. MESH's field list came in with 530192d7 and credited a section ODA spec v5.4.1 does not have; WIPEOUT is read with IMAGE's field list, which it had been measured to share on one R2018 record only.

  • examples/probe_mesh.rs walks the corpus. Like the other object probes, it uses the shared twin reader (examples/support/twin.rs), so it pairs each MESH with its DXF twin by handle and tallies per release. It took one drawing and one DXF before. The comparison is the same, now also checking each group's code: the AcDbSubDMesh group in the DXF's own order.

  • Result (Measure run 46372916305, through ci(measure): a probe input runs named examples at the head over the corpus directory #487's probe input):

    • all 14 records close on their data-stream boundary;
    • on R2000 to R2018, the 10,992 values compared equal the twin, with 0 differences;
    • the two R14 records have no DXF twin, so they are held to their boundary alone.
  • CLEANROOM.md gains a dated entry for MESH, and docs/spec-coverage.md's MESH row moves from partial ("2 records error") to closes.

  • WIPEOUT: the new examples/probe_wipeout.rs compares every raster-image field the DXF writes: the insertion point, U and V vectors, image size, display flags, clipping, brightness, contrast, fade, clip mode, and the clip boundary's type, count and vertices.

  • Result (Measure run 46372916305):

    • all 7 records close;
    • on R2000 to R2018, 171 values equal the twin, with 0 differences;
    • the DXF writes a clip polygon's first vertex again after its last, and that vertex equals the first on every record;
    • the clip mode is written only from R2010 (3 values not written).
  • Docs: CLEANROOM.md gains a dated WIPEOUT entry, the coverage row moves from decoder to closes, and wipeout.rs's "Only R2018 has been measured" now says every release is.

Closes #478.

Testing

  • The Measure run above. spec_coverage.py --check and spec_citations.py pass, and rustfmt is clean on the probe.

Source provenance

Measured against AutoCAD's own DXF output of the pinned public corpus (CLEANROOM.md source rules); no third-party DWG or DXF implementation was consulted.

@DrunkOnJava DrunkOnJava changed the title docs(cleanroom): MESH's field list checked against AutoCAD's own output on all 14 corpus records (#478) docs(cleanroom): MESH's and WIPEOUT's field lists checked against AutoCAD's own output on every corpus record (#478) Nov 30, 2026
@DrunkOnJava
DrunkOnJava merged commit ca9313b into main Nov 30, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/478-mesh-probe-corpus branch November 30, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MESH and WIPEOUT: derive their field lists from AutoCAD's own output (14 and 7 corpus records)

1 participant